function y = e_bd1(x)
% Extended Block Diagonal BD1 Function
%x0=[0.1, 0.1, ..., 0.1]..  
%fmin=n/2
%Author:shi yangyang
n=length(x);
m=n/2;
y=ones(1,m);
for i=1:1:m
    t1=x(2*i-1)^2+x(2*i)^2-2.0;
    t2=exp(x(2*i-1)-1)-x(2*i);
    y(i)=t1^2+t2^2;
end
y=sum(y);
